package com.example.defaultshop;

import java.util.ArrayList;

public class Mix {
	private ArrayList<Option> options, choices;
	
	private MixGroup group;
	private Option choice;
	
	private String name, text;
	
	private boolean header;
	private int idx, type, extra;
	
	public Mix() {
		this.options = new ArrayList<Option>();
		this.choices = new ArrayList<Option>();
	}
	
	public Mix(String name, String text, boolean header, int idx, int type, int extra) {
		this.options = new ArrayList<Option>();
		this.choices = new ArrayList<Option>();
		this.name = name;
		this.text = text;
		this.header = header;
		this.idx = idx;
		this.type = type;
		this.extra = extra;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public boolean isHeader() {
		return header;
	}

	public void setHeader(boolean header) {
		this.header = header;
	}

	public int getIdx() {
		return idx;
	}

	public void setIdx(int idx) {
		this.idx = idx;
	}
	
	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getExtra() {
		return extra;
	}

	public void setExtra(int extra) {
		this.extra = extra;
	}

	public Option getChoice() {
		return choice;
	}

	public void setChoice(Option choice) {
		this.choice = choice;
	}

	public ArrayList<Option> getChoices() {
		return choices;
	}
	
	public void addChoice(Option o) {
		choices.add(o);
	}
	
	public void removeChoice(Option o) {
		choices.remove(o);
	}

	public ArrayList<Option> getOptions() {
		return options;
	}
	
	public MixGroup getGroup() {
		return group;
	}

	public void setGroup(MixGroup group) {
		this.group = group;
	}

	public void addOption(Option o) {
		options.add(o);
	}
	
	public void removeOption(Option o) {
		options.remove(o);
	}
}